<?php
	include 'commonAccountFunctions.php';

	session_start();
	
	$user=checkAuthentication();
	
	print_header();
?>
<div id="topbar">
	<div id="title">Change Password</div>
	<div id="rightbutton"> <a href="index.php" >Log Out</a> </div>
</div>

<div id="tributton">
	<div class="links">
		<a href="controlpanel.php">Control Panel</a>
		<a id="pressed" href="changePassword.php">Change Password</a>
	</div>
</div>

<div id="content">
	<form action="newPassword.php" enctype="multipart/form-data" method="post">
		<ul class="pageitem">
			<li class="bigfield"><input placeholder="Old Password" type="password" name="oldPassword"/></li>
			<li class="bigfield"><input placeholder="New Password" type="password" name="newPassword"/></li>
			<li class="bigfield"><input placeholder="Repeat Password" type="password" name="repeatPassword"/></li>
			<li class="button"> <input name="logIn" type="submit" value="Change Password" /> </li>
		</ul>
	</form>
</div>
	
<?php
	print_footer();
?>